//
//  PrivacyEnableViewController.swift
//  EasyDana
//
//  Created by mac on 2024/10/18.
//

import UIKit

class PrivacyEnableViewController: UIViewController {

    
    @IBAction func closeAction(_ sender: UIButton) {
        self.dismiss(animated: false)
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
    }

    @IBAction func goPrivilegeAction(_ sender: UIButton) {
        self.dismiss(animated: false) {
            UIApplication.shared.open(URL(string: UIApplication.openSettingsURLString)!)
        }
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
